add_executable(test_message_serialization
    test_json_rpc_request.cpp
    test_json_rpc_response.cpp
    test_json_rpc_notification.cpp
)

target_link_libraries(test_message_serialization
    PRIVATE
    message_serialization
    gtest
    gtest_main
    Qt5::Core
)

set_target_properties(test_message_serialization PROPERTIES
    CXX_STANDARD 11
    CXX_STANDARD_REQUIRED ON
)

add_test(NAME test_message_serialization COMMAND test_message_serialization)
